package com.zqxq.lottery.mapper.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zqxq.lottery.entity.bo.user.UserPrizeBO;
import com.zqxq.lottery.entity.po.user.UserPrizePO;
import com.zqxq.lottery.entity.vo.user.UserPrizeVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Description ：
 * @Author ： 解风
 * @Date ： 2018/03/13 14:39
 */
@Component(value = "userPrizeMapper")
public interface UserPrizeMapper extends BaseMapper<UserPrizePO> {

    List<UserPrizeVO> queryPage(Page page, UserPrizeBO search);

    List<UserPrizeVO> queryPrizeList(@Param("userId") Long userId);
}
